package manager.universe;

import utilities.Versioner;

public class PhisicManager extends UniverseManager {

	public PhisicManager(int periode) {
		super(periode);
	}

	@Override
	protected void destroy() {}

	@Override
	protected void init() {}

	@Override
	protected void lockedRun(Universe u) {
		double[] triangle = u.getTriangle();
		triangle[0] = 0.01;
		triangle[1] = Math.sin(triangle[0]);
		triangle[2] = Math.cos(triangle[0]);

	 Versioner.swap();
	}	
}
